<%--
  Created by IntelliJ IDEA.
  User: wangxuekai
  Date: 2017/1/16
  Time: 18:43
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>用户注册</title>
</head>
<style>
    .col-center-block {
        float: none;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
</style>
<body>

<div id="infoDiv" class="container">
    <div class="row myCenter">
        <div class="col-xs-6 col-md-4 col-center-block">
            <form action="/user/doRegister" method="post">
                <div class="control-group">
                    <!-- Text input-->
                    <label class="control-label" for="userName">用户名：</label>
                    <div class="controls">
                        <input type="text" placeholder="" id="userName" name="userName" class="input-xlarge">
                        <p class="help-block"></p>
                    </div>
                </div>
                <div class="control-group">
                    <!-- Text input-->
                    <label class="control-label" for="userName">手机号：</label>
                    <div class="controls">
                        <input type="text" placeholder="" id="mobile" name="mobile" class="input-xlarge">
                        <p class="help-block"></p>
                    </div>
                </div>
                <div class="control-group">
                    <!-- Text input-->
                    <label class="control-label" for="userName">邮箱：</label>
                    <div class="controls">
                        <input type="text" placeholder="" id="email" name="email" class="input-xlarge">
                        <p class="help-block"></p>
                    </div>
                </div>
                <div class="control-group">
                    <!-- Text input-->
                    <label class="control-label" for="userName">密码：</label>
                    <div class="controls">
                        <input type="password" placeholder="" id="pwd" name="pwd" class="input-xlarge">
                        <p class="help-block"></p>
                    </div>
                </div>
                <div class="control-group">
                    <!-- Text input-->
                    <label class="control-label" for="userName">确认密码：</label>
                    <div class="controls">
                        <input type="password" placeholder="" id="repwd" name="repwd" class="input-xlarge">
                        <p class="help-block"></p>
                    </div>
                </div>
                <div class="control-group">
                    <!-- Text input-->
                    <label class="control-label" for="userName">地址：</label>
                    <div class="controls">
                        <input type="text" placeholder="" id="addr" name="addr" class="input-xlarge">
                        <p class="help-block"></p>
                    </div>
                </div>
                <div class="controls">
                    <button class="btn btn-success">注册</button>
                </div>
            </form>
        </div>
    </div>
</div>

<!-- 新 Bootstrap 核心 CSS 文件 -->
<link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.0/css/bootstrap.min.css">

<!-- 可选的Bootstrap主题文件（一般不用引入） -->
<link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.0/css/bootstrap-theme.min.css">

<script src="http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>

<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
<script src="http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>

<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script src="http://cdn.bootcss.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>

</body>
</html>